package com.oa.co.service;

import com.github.pagehelper.PageInfo;
import com.oa.co.pojo.Room;

import java.util.List;

/**
 * @Author Lone Ranger
 */
public interface RoomService {

    PageInfo<Room> getAllRoom(Integer page, Integer limit, Integer floor, Integer room_status);

    List<Room> getRooms();

//    Integer addRoom(String room_name, Integer floor, Integer max_num);
    Integer addRoom(Room room);

    Integer deleteRoom(Integer room_id);

    Integer updateRoom(Room room);

    Integer deleteRoomMulti(List<Room> list);
}
